def f(x):
    a= input('a:')
    b=input('b:')
    c=input('c:')
    y=a*x*x+b*x+c
    print(y)
f(9)    
# import random
# names=['刘一','陈二','张三','李四','王五','赵六','孙七','周八','吴九','郑十']
# index= random.randint(0,len(names)-1)
# print(names[index])